

import Vue from 'vue'

export function alert (message) {
  Vue.prototype.$alert(message, '提示', {
    confirmButtonText: '确定'
  })
}


export function dialog (name, para, width) {
  Vue.prototype.$bus.$emit('autoDialogEvent', name, para, width)
}